package com.ruoyi.business.domain.vo;

    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
    import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * comment对象 comment
 *
 * @author 吴倩芸
 * @date 2023-03-04
 */
        @EqualsAndHashCode(callSuper = true)
        @Data
        public class CommentVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

            /** id */
        private Long id;

            /** 父id */
                @Excel(name = "父id")
        private Long parentId;

            /** 关联用户表 */
                @Excel(name = "关联用户表")
        private Long commentUser;

            /** 评论时间 */
                @JsonFormat(pattern = "yyyy-MM-dd")
                @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date commentTime;

            /** 点赞数 */
                @Excel(name = "点赞数")
        private Integer fabulous;

            /** 评论内容 */
                @Excel(name = "评论内容")
        private String commentContext;

            /** 踩的数量 */
                @Excel(name = "踩的数量")
        private Long stamp;

            /** 回复数 */
                @Excel(name = "回复数")
        private Integer reply;

            /** 被回复的人 */
                @Excel(name = "被回复的人")
        private Long replyUser;

            /** 课程id */
                @Excel(name = "课程id")
        private Long courseId;


}
